package com.jichangxiu.server.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jichangxiu.server.platform.entity.po.PlatformPost;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * PlatformPostMapper:
 *
 * @author Jcx
 * @create 2023-03-08 21:09
 */
@Mapper
public interface PlatformPostMapper extends BaseMapper<PlatformPost> {

    /**
     * 分页查询岗位列表
     *
     * @param platformPost 岗位信息
     * @param page         分页对象
     * @return 部门列表
     */
    public List<PlatformPost> pageList(@Param("platformPost") PlatformPost platformPost, @Param("page") Page<PlatformPost> page);

}
